package lp.xian.materials.vo;

import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

@Data
public class MaterialsVo extends BaseEntity {
    private String materialsName;
    private BigDecimal materialsPrice;
    private Integer materialsNum;
    private String unit;

    @Override
    public String toString(){
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("materialsName",getMaterialsName())
                .append("materialsPrice",getMaterialsPrice())
                .append("materialsNum",getMaterialsNum())
                .append("unit",getUnit())
                .toString();
    }

}
